package com.zwps.common.tool.tree;

import java.util.List;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Trees<K, D, C extends Trees<K, D, C>> {

    private K id;

    private K parentId;

    private String name;

    private Integer sort;

    private D data;

    private List<C> children;

}
